package com.hongyuan.sellfitness.ui.home.beans;

import com.hongyuan.sellfitness.utils.TimeUtil;
import java.util.List;

public class StoreInfoBean{

    /**
     * os_id : 22
     * os_name : 湖州首玺健身湖东店
     * pid : 35
     * cid : 3505
     * did : 350502
     * os_address : 新华路沃尔玛4楼
     * os_tel : 0572-2596000
     * os_leader : 王彩环
     * os_brief : 位于湖州新华路与二环东路交汇处 集健身、瑜伽、舞蹈、动感单车、洗浴等为一体的vip会员制会所
     * os_img : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/6c6fb1bfc62e2c13031096593660c5fc05a6fdea_800x254.jpg
     * os_lng : 120.132885
     * os_lat : 30.870861
     * os_addtime : 1564131559
     * admin_id : 9
     * update_time : 1574668511
     * update_admin : 9
     * os_logo : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/6c6fb1bfc62e2c13031096593660c5fc05a6fdea_800x254.jpg
     * os_banner1 : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/699c53e35deef951d018ed133b917c67854ae0fb_800x345.jpg
     * os_banner2 : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/0b930c22d137b01506a6aeb9154df0b0ff4413b7_800x345.jpg
     * os_banner3 : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/0b930c22d137b01506a6aeb9154df0b0ff4413b7_800x345.jpg
     * os_banner4 : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/0b930c22d137b01506a6aeb9154df0b0ff4413b7_800x345.jpg
     * os_banner5 : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/999dd4fe886b6470aeee95fbe366d5014a741250_800x345.jpg
     * os_teshe : 本会所现开设有：高温瑜珈、HIPHOP、肚皮舞、有氧拉丁、有氧健身操、搏击操、踏板操、普拉提、腰腹塑形等课程。
     要健康，来首玺！专业的教练团队是你们的技术保障，优秀的会籍顾问让您健身没有后顾之忧，漂亮专业的前台小姐姐让您进门就有美好心情。首玺健身祝你健身愉快。
     * os_start_time : 10:00:00
     * os_end_time : 22:00:00
     * os_week : 1,2,3,4,5,6,7
     * osf_ids : 7,6,5,4,3,2,1
     * os_area : 2800
     * os_area_privite : 150
     * is_del : 2
     * osl_id : 1
     * os_state : 1
     * os_zizhi :
     * gc_ids : 1
     * os_type : 1
     * site_service_ids :
     * is_tj : 0
     * is_index : 1
     * is_in : 1
     * os_money : 17100.00
     * os_money_frozen : 0.00
     * is_show : 1
     * address : 浙江省湖州市吴兴区新华路沃尔玛4楼
     * os_banner : ["http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/6c6fb1bfc62e2c13031096593660c5fc05a6fdea_800x254.jpg"]
     * banner : ["http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20190814/6c6fb1bfc62e2c13031096593660c5fc05a6fdea_800x254.jpg"]
     * osf : [{"osf_id":1,"osf_name":"有氧器械区","osf_type":1},{"osf_id":2,"osf_name":"动感单车房","osf_type":1},{"osf_id":3,"osf_name":"多功能器械区","osf_type":1},{"osf_id":4,"osf_name":"高温瑜伽馆","osf_type":1},{"osf_id":5,"osf_name":"团体舞蹈房","osf_type":1},{"osf_id":6,"osf_name":"八角笼格斗","osf_type":1},{"osf_id":7,"osf_name":"空中瑜伽馆","osf_type":1}]
     * osl_name : 普通店
     * osl_img :
     */

    private int os_id;
    private String os_name;
    private int pid;
    private int cid;
    private int did;
    private String os_address;
    private String os_tel;
    private String os_leader;
    private String os_brief;
    private String os_img;
    private String os_lng;
    private String os_lat;
    private int os_addtime;
    private int admin_id;
    private int update_time;
    private int update_admin;
    private String os_logo;
    private String os_banner1;
    private String os_banner2;
    private String os_banner3;
    private String os_banner4;
    private String os_banner5;
    private String os_teshe;
    private String os_start_time;
    private String os_end_time;
    private String os_week;
    private String osf_ids;
    private int os_area;
    private int os_area_privite;
    private int is_del;
    private int osl_id;
    private int os_state;
    private String os_zizhi;
    private String gc_ids;
    private int os_type;
    private String site_service_ids;
    private int is_tj;
    private int is_index;
    private int is_in;
    private String os_money;
    private String os_money_frozen;
    private int is_show;
    private String address;
    private String osl_name;
    private String osl_img;
    private List<String> os_banner;
    private List<String> banner;
    private List<OsfBean> osf;

    public int getOs_id() {
        return os_id;
    }

    public void setOs_id(int os_id) {
        this.os_id = os_id;
    }

    public String getOs_name() {
        return os_name;
    }

    public void setOs_name(String os_name) {
        this.os_name = os_name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public String getOs_address() {
        return os_address;
    }

    public void setOs_address(String os_address) {
        this.os_address = os_address;
    }

    public String getOs_tel() {
        return os_tel;
    }

    public void setOs_tel(String os_tel) {
        this.os_tel = os_tel;
    }

    public String getOs_leader() {
        return os_leader;
    }

    public void setOs_leader(String os_leader) {
        this.os_leader = os_leader;
    }

    public String getOs_brief() {
        return os_brief;
    }

    public void setOs_brief(String os_brief) {
        this.os_brief = os_brief;
    }

    public String getOs_img() {
        return os_img;
    }

    public void setOs_img(String os_img) {
        this.os_img = os_img;
    }

    public String getOs_lng() {
        return os_lng;
    }

    public void setOs_lng(String os_lng) {
        this.os_lng = os_lng;
    }

    public String getOs_lat() {
        return os_lat;
    }

    public void setOs_lat(String os_lat) {
        this.os_lat = os_lat;
    }

    public int getOs_addtime() {
        return os_addtime;
    }

    public void setOs_addtime(int os_addtime) {
        this.os_addtime = os_addtime;
    }

    public int getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(int admin_id) {
        this.admin_id = admin_id;
    }

    public int getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(int update_time) {
        this.update_time = update_time;
    }

    public int getUpdate_admin() {
        return update_admin;
    }

    public void setUpdate_admin(int update_admin) {
        this.update_admin = update_admin;
    }

    public String getOs_logo() {
        return os_logo;
    }

    public void setOs_logo(String os_logo) {
        this.os_logo = os_logo;
    }

    public String getOs_banner1() {
        return os_banner1;
    }

    public void setOs_banner1(String os_banner1) {
        this.os_banner1 = os_banner1;
    }

    public String getOs_banner2() {
        return os_banner2;
    }

    public void setOs_banner2(String os_banner2) {
        this.os_banner2 = os_banner2;
    }

    public String getOs_banner3() {
        return os_banner3;
    }

    public void setOs_banner3(String os_banner3) {
        this.os_banner3 = os_banner3;
    }

    public String getOs_banner4() {
        return os_banner4;
    }

    public void setOs_banner4(String os_banner4) {
        this.os_banner4 = os_banner4;
    }

    public String getOs_banner5() {
        return os_banner5;
    }

    public void setOs_banner5(String os_banner5) {
        this.os_banner5 = os_banner5;
    }

    public String getOs_teshe() {
        return os_teshe;
    }

    public void setOs_teshe(String os_teshe) {
        this.os_teshe = os_teshe;
    }

    public String getOs_start_time() {
        return os_start_time;
    }

    public void setOs_start_time(String os_start_time) {
        this.os_start_time = os_start_time;
    }

    public String getOs_end_time() {
        return os_end_time;
    }

    public void setOs_end_time(String os_end_time) {
        this.os_end_time = os_end_time;
    }

    public String getOs_week() {
        return os_week;
    }

    public void setOs_week(String os_week) {
        this.os_week = os_week;
    }

    public String getOsf_ids() {
        return osf_ids;
    }

    public void setOsf_ids(String osf_ids) {
        this.osf_ids = osf_ids;
    }

    public int getOs_area() {
        return os_area;
    }

    public void setOs_area(int os_area) {
        this.os_area = os_area;
    }

    public int getOs_area_privite() {
        return os_area_privite;
    }

    public void setOs_area_privite(int os_area_privite) {
        this.os_area_privite = os_area_privite;
    }

    public int getIs_del() {
        return is_del;
    }

    public void setIs_del(int is_del) {
        this.is_del = is_del;
    }

    public int getOsl_id() {
        return osl_id;
    }

    public void setOsl_id(int osl_id) {
        this.osl_id = osl_id;
    }

    public int getOs_state() {
        return os_state;
    }

    public void setOs_state(int os_state) {
        this.os_state = os_state;
    }

    public String getOs_zizhi() {
        return os_zizhi;
    }

    public void setOs_zizhi(String os_zizhi) {
        this.os_zizhi = os_zizhi;
    }

    public String getGc_ids() {
        return gc_ids;
    }

    public void setGc_ids(String gc_ids) {
        this.gc_ids = gc_ids;
    }

    public int getOs_type() {
        return os_type;
    }

    public void setOs_type(int os_type) {
        this.os_type = os_type;
    }

    public String getSite_service_ids() {
        return site_service_ids;
    }

    public void setSite_service_ids(String site_service_ids) {
        this.site_service_ids = site_service_ids;
    }

    public int getIs_tj() {
        return is_tj;
    }

    public void setIs_tj(int is_tj) {
        this.is_tj = is_tj;
    }

    public int getIs_index() {
        return is_index;
    }

    public void setIs_index(int is_index) {
        this.is_index = is_index;
    }

    public int getIs_in() {
        return is_in;
    }

    public void setIs_in(int is_in) {
        this.is_in = is_in;
    }

    public String getOs_money() {
        return os_money;
    }

    public void setOs_money(String os_money) {
        this.os_money = os_money;
    }

    public String getOs_money_frozen() {
        return os_money_frozen;
    }

    public void setOs_money_frozen(String os_money_frozen) {
        this.os_money_frozen = os_money_frozen;
    }

    public int getIs_show() {
        return is_show;
    }

    public void setIs_show(int is_show) {
        this.is_show = is_show;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOsl_name() {
        return osl_name;
    }

    public void setOsl_name(String osl_name) {
        this.osl_name = osl_name;
    }

    public String getOsl_img() {
        return osl_img;
    }

    public void setOsl_img(String osl_img) {
        this.osl_img = osl_img;
    }

    public List<String> getOs_banner() {
        return os_banner;
    }

    public void setOs_banner(List<String> os_banner) {
        this.os_banner = os_banner;
    }

    public List<String> getBanner() {
        return banner;
    }

    public void setBanner(List<String> banner) {
        this.banner = banner;
    }

    public List<OsfBean> getOsf() {
        return osf;
    }

    public void setOsf(List<OsfBean> osf) {
        this.osf = osf;
    }

    public static class OsfBean {
        /**
         * osf_id : 1
         * osf_name : 有氧器械区
         * osf_type : 1
         */

        private int osf_id;
        private String osf_name;
        private int osf_type;

        public int getOsf_id() {
            return osf_id;
        }

        public void setOsf_id(int osf_id) {
            this.osf_id = osf_id;
        }

        public String getOsf_name() {
            return osf_name;
        }

        public void setOsf_name(String osf_name) {
            this.osf_name = osf_name;
        }

        public int getOsf_type() {
            return osf_type;
        }

        public void setOsf_type(int osf_type) {
            this.osf_type = osf_type;
        }
    }

    /*
    * 营业时间
    * */
    public String getBusinessHours(){
        return "周一至周日 "+ TimeUtil.formatDate(os_start_time, TimeUtil.dateFormatHMS,TimeUtil.dateFormatHM)+
                "-"+TimeUtil.formatDate(os_end_time,TimeUtil.dateFormatHMS,TimeUtil.dateFormatHM);
    }

    /*
    * 标签显示
    * */
    public String getMark(){
        String str = "";
        for(OsfBean bean : osf){
            str += "/"+bean.getOsf_name();
        }

        if(str.length() > 0){
            return str.substring(1);
        }
        return str;
    }
}
